#pragma once

class FuncAddCtrlsToDlg
{
public:
	FuncAddCtrlsToDlg(void);
	~FuncAddCtrlsToDlg(void);
    static void AddEditCtrlToDlg(CString DlgName, CString EditItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void AddComboCtrlToDlg(CString DlgName, CString ItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void AddPropertyGridCtrlToDlg(CString DlgName, CString ItemName, CArray<DataVar, DataVar&> &varList, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void NewDialog(CString DlgName, CString ProjectName, BOOL bAddToSource);
    static void AddMyListCtrlToDlg(CString DlgName, CString ItemName, CArray<DataVar, DataVar&> &varList, BOOL bAddToSource, CString FileName = _T(""));
    static void AddListToDlg(CString DlgName, CString ItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void AddTreeToDlg(CString DlgName, CString ItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void AddHistoryToDlg(CString DlgName, CString ItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void AddHisComboCtrlToDlg(CString DlgName, CString ItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
    static void AddPBObject_PropertyGridCtrlToDlg(CString DlgName, CString ItemName, CArray<DataVar, DataVar&> &varList, BOOL bAddToSource, CString FileName = _T(""));
    static void AddToolBarCtrlToDlg(CString DlgName, CString ItemName, CArray<DataVar, DataVar&> &DataVarList, BOOL bAddToSource, CString FileName = _T(""));
    static void AddCheckToDlg(CString DlgName, CString ItemName, BOOL bAddToSource, CString FileName = _T(""));
    static void AddRadioToDlg(CString DlgName, CString ItemName, BOOL bAddToSource, CString FileName = _T(""));
    static void AddResizeToDlg(CString DlgName, BOOL bAddToSource, CString FileName = _T(""));
    static void DelComboCtrlToDlg(CString DlgName, CString ItemName, BOOL bAddToSource, CString FileName);
    static void AddToolTipCtrlToDlg(CString DlgName, CString ResName, BOOL bAddToSource, CString FileName);
    static void AddToolBarNoResToDlg(CString DlgName, CString ItemName, BOOL bAddToSource = TRUE, CString FileName = _T(""));
	static void AddTabToDlg(CString DlgName, CString ItemName, BOOL bAddToSource, CString FileName);
	static void AddSliderToDlg(CString DlgName, CString ItemName, BOOL bAddToSource, CString FileName);
	static void AddPreviewToDlg(CString DlgName, CString ItemName, BOOL bAddToSource, CString FileName);
	static bool SetGlobalDataByFullCSPath(CString FileFullName);
	static void AddMyPictureBoxCtrlToDlg(CString DlgName, CString ItemName, CArray<DataVar, DataVar&> &varList, BOOL bAddToSource, CString FileName);
};
